<project-header class="top-header"></project-header>
  <project-page>

  <!-- Middle section -->
  <div class="middle-section">
    <div id="scrollable-content" class="middle-container has-scroll">
      <div class="middle-header header-light">
        <div class="container-fluid">
          <div class="page-header page-header-bleed-right page-header-bleed-left">
            <h1>操作日志</h1>
          </div>
          <alerts alerts="alerts"></alerts>

        </div>
      </div><!-- /middle-header-->
      <div class="middle-content">
        <div class="container-fluid">
          <div class="row">
            <div class="col-md-12">
              <div class="page-header page-header-bleed-right page-header-bleed-left">

                <h2></h2>
              </div>
              <table class="table table-bordered table-hover table-mobile">
                <thead>
                  <tr>
                    <th>时间</th>
                    <th>操作</th>
                    <th>用户</th>

                  </tr>
                </thead>
                <tbody ng-if="(projects | hashSize) == 0">
                  <tr><td colspan="5"><em>{{emptyMessage}}</em></td></tr>
                </tbody>
                <tbody ng-repeat="project in projects ">
                  <tr>
                    <td data-title="Name">{{project.metadata.name}}</a></td>
                    <td data-title="Display Name" >
                      <span ng-if="project.metadata.annotations['openshift.io/display-name']">{{project.metadata.annotations['openshift.io/display-name']}}</span>
                      <span ng-if="!project.metadata.annotations['openshift.io/display-name']">-</span>
                    </td>

                    <td data-title="Capacity">
                      <span ng-if="project.metadata.annotations['openshift.io/description']">
                        <span>{{project.metadata.annotations['openshift.io/description']}}</span>
                      </span>
                      <span ng-if="!project.metadata.annotations['openshift.io/description']">
                        <span>-</span>
                      </span>
                    </td>

                  </tr>
                </tbody>
              </table>
            </div><!-- /col-* -->
          </div>
        </div>
      </div><!-- /middle-content -->
    </div><!-- /middle-container -->
  </div><!-- /middle-section -->
  </project-page>
